package interview.CooperateSystem.secondTime.server;

import interview.CooperateSystem.secondTime.Message;
import interview.CooperateSystem.secondTime.MessageState;
import interview.CooperateSystem.secondTime.server.MessageConverter.MessageConveter;
import interview.CooperateSystem.secondTime.server.MessageExtractor.Extractor;

/**
 * Created by Richard on 7/28/2014.
 */
public interface RequestHandler {
    public MessageConveter convert(Message message);
    public Extractor extraMessage(MessageConveter messageConveter);
    public void notifyResult(Message message,MessageState state);
}
